<template>
  <div @click="openDrawer(true)">
    <Icon icon="ion:settings-outline" />
    <SettingDrawer @register="register" />
  </div>
</template>
<script lang="ts" setup name="SettingButton">
import { useDrawer } from '@/components/Drawer';
import { Icon } from '@/components/Icon';

import SettingDrawer from './SettingDrawer';

const [register, { openDrawer }] = useDrawer();
</script>
